package com.webproject.core.base;

import java.security.PrivilegedActionException;

/**
 * 自定义异常
 * 抛出自定义异常 用于被异常拦截器拦截异常做错误返回
 */
public class BaseException extends Exception {
    public BaseException() {
    }
    public BaseException(String message) {
        super(message);
    }
    public BaseException(String message, Throwable cause) {
        super(message, cause);
    }
    public BaseException(Throwable cause) {
        super(cause);
    }
    public BaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
